<template>
  <div class="detail">
    <el-card>
      <div slot="header" class="clearfix">
        <span>卡片名称</span>
        <el-button style="float: right; padding: 3px 0" type="text">操作按钮</el-button>
      </div>
      <el-tabs v-model="activeName">
        <el-tab-pane label="登录账户设置" name="first">
          <count-setting />
        </el-tab-pane>
        <el-tab-pane label="个人详情" name="second">
          <person-detail />
        </el-tab-pane>
        <el-tab-pane label="岗位详情" name="third">
          <work-detail />
        </el-tab-pane>
      </el-tabs>
    </el-card>

  </div>
</template>
<script>
import countSetting from './conponents/countSetting.vue'
import personDetail from './conponents/personDetail.vue'
import workDetail from './conponents/workDetail.vue'
export default {
  name: '',
  components: {
    countSetting,
    personDetail,
    workDetail
  },
  data() {
    return {
      activeName: 'first'
    }
  }
}
</script>
<style lang="scss" scoped>
.detail {
  margin: 15px;
}
</style>
